﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200079F RID: 1951
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPlayerReplayInfoScRsp : IMessage<GetPlayerReplayInfoScRsp>, IMessage, IEquatable<GetPlayerReplayInfoScRsp>, IDeepCloneable<GetPlayerReplayInfoScRsp>, IBufferMessage
	{
		// Token: 0x170018E6 RID: 6374
		// (get) Token: 0x060057A6 RID: 22438 RVA: 0x000EC97D File Offset: 0x000EAB7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPlayerReplayInfoScRsp> Parser
		{
			get
			{
				return GetPlayerReplayInfoScRsp._parser;
			}
		}

		// Token: 0x170018E7 RID: 6375
		// (get) Token: 0x060057A7 RID: 22439 RVA: 0x000EC984 File Offset: 0x000EAB84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPlayerReplayInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170018E8 RID: 6376
		// (get) Token: 0x060057A8 RID: 22440 RVA: 0x000EC996 File Offset: 0x000EAB96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPlayerReplayInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060057A9 RID: 22441 RVA: 0x000EC99D File Offset: 0x000EAB9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerReplayInfoScRsp()
		{
		}

		// Token: 0x060057AA RID: 22442 RVA: 0x000EC9B0 File Offset: 0x000EABB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerReplayInfoScRsp(GetPlayerReplayInfoScRsp other) : this()
		{
			this.cHMOEENOMFO_ = other.cHMOEENOMFO_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060057AB RID: 22443 RVA: 0x000EC9E6 File Offset: 0x000EABE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerReplayInfoScRsp Clone()
		{
			return new GetPlayerReplayInfoScRsp(this);
		}

		// Token: 0x170018E9 RID: 6377
		// (get) Token: 0x060057AC RID: 22444 RVA: 0x000EC9EE File Offset: 0x000EABEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ReplayInfo> CHMOEENOMFO
		{
			get
			{
				return this.cHMOEENOMFO_;
			}
		}

		// Token: 0x170018EA RID: 6378
		// (get) Token: 0x060057AD RID: 22445 RVA: 0x000EC9F6 File Offset: 0x000EABF6
		// (set) Token: 0x060057AE RID: 22446 RVA: 0x000EC9FE File Offset: 0x000EABFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060057AF RID: 22447 RVA: 0x000ECA07 File Offset: 0x000EAC07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPlayerReplayInfoScRsp);
		}

		// Token: 0x060057B0 RID: 22448 RVA: 0x000ECA18 File Offset: 0x000EAC18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPlayerReplayInfoScRsp other)
		{
			return other != null && (other == this || (this.cHMOEENOMFO_.Equals(other.cHMOEENOMFO_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060057B1 RID: 22449 RVA: 0x000ECA68 File Offset: 0x000EAC68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.cHMOEENOMFO_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060057B2 RID: 22450 RVA: 0x000ECAB5 File Offset: 0x000EACB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060057B3 RID: 22451 RVA: 0x000ECABD File Offset: 0x000EACBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060057B4 RID: 22452 RVA: 0x000ECAC8 File Offset: 0x000EACC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			this.cHMOEENOMFO_.WriteTo(ref output, GetPlayerReplayInfoScRsp._repeated_cHMOEENOMFO_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060057B5 RID: 22453 RVA: 0x000ECB18 File Offset: 0x000EAD18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.cHMOEENOMFO_.CalculateSize(GetPlayerReplayInfoScRsp._repeated_cHMOEENOMFO_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060057B6 RID: 22454 RVA: 0x000ECB6C File Offset: 0x000EAD6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPlayerReplayInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.cHMOEENOMFO_.Add(other.cHMOEENOMFO_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060057B7 RID: 22455 RVA: 0x000ECBB9 File Offset: 0x000EADB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060057B8 RID: 22456 RVA: 0x000ECBC4 File Offset: 0x000EADC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.cHMOEENOMFO_.AddEntriesFrom(ref input, GetPlayerReplayInfoScRsp._repeated_cHMOEENOMFO_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002234 RID: 8756
		private static readonly MessageParser<GetPlayerReplayInfoScRsp> _parser = new MessageParser<GetPlayerReplayInfoScRsp>(() => new GetPlayerReplayInfoScRsp());

		// Token: 0x04002235 RID: 8757
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002236 RID: 8758
		public const int CHMOEENOMFOFieldNumber = 11;

		// Token: 0x04002237 RID: 8759
		private static readonly FieldCodec<ReplayInfo> _repeated_cHMOEENOMFO_codec = FieldCodec.ForMessage<ReplayInfo>(90U, ReplayInfo.Parser);

		// Token: 0x04002238 RID: 8760
		private readonly RepeatedField<ReplayInfo> cHMOEENOMFO_ = new RepeatedField<ReplayInfo>();

		// Token: 0x04002239 RID: 8761
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400223A RID: 8762
		private uint retcode_;
	}
}
